const state = {
    personInfo: {},
};
const getters = {
    getPersonInfo: (state) => {
        return state.personInfo
    }
};
const mutations = {
    setInPerson(state, info) {
        // 修改底下导航栏当前index
        state.personInfo = info;
        console.log(this.state)
    }
};
const actions = {
    setPerson(context, info) {
        context.commit('setInPerson', info)
    }
};
export default {
    namespaced: true,
    state,
    getters,
    mutations,
    actions
}